-- GENERATED SPELL FOR [Fallen Hero's Spirit] --


function spell0_32149(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32149', 687, 1)
end

function Sorts_32149(pUnit, Event)
local choix_sorts_32149 = math.random(0, 0)
if choix_sorts_32149 == 0 then
pUnit:RegisterEvent('spell0_32149', 1, 1)
end
end

function mob32149_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32149', math.random(1500, 3000), 1)
end

function mob32149_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32149_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32149_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32149, 1, 'mob32149_Action')
RegisterUnitEvent(32149, 2, 'mob32149_Leave')
RegisterUnitEvent(32149, 3, 'mob32149_Kill')
RegisterUnitEvent(32149, 4, 'mob32149_Die')
